//
//  YLMyPrivilegeHeader.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/11.
//  Copyright © 2017年 she1323. All rights reserved.
//  我的特权

#import "YLMyPrivilegeHeader.h"

@interface YLMyPrivilegeHeader ()
@property (weak, nonatomic) IBOutlet UIButton *moreButton;

@end

@implementation YLMyPrivilegeHeader

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setShowTitle:(NSString *)showTitle
{
    _showTitle = showTitle;
    [_moreButton setTitle:showTitle forState:UIControlStateNormal];
}

+ (NSString *)headerID
{
    return @"YLMyPrivilegeHeader";
}

- (IBAction)more:(UIButton *)sender {
    
    if (self.clickBlock) {
        self.clickBlock();
    }
}

@end
